# coding=utf-8
# python cmp function
# cmp(obj1,obj2)
# if obj1<obj2 then return -1
# if obj1>obj2 then return  1
# if obj1=obj2 then return  0
#
# obj1-obj2->return

print cmp(1,2)
print cmp(2,1)
print cmp(1,1)